package com.platform.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.platform.entity.UserRecord;
import com.platform.entity.UserVo;
import com.platform.util.EntityDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <br>
 */
@Mapper
public interface UserRecordMapper extends EntityDao<UserRecord,Integer>{

    IPage<UserRecord> getAmountDetail(IPage<UserRecord> page, @Param("params") Map params);

    Map<String, Object> getAmountSummary(Map params);

    Map<String, Object> getAmountMonth(Map params);
}
